package com.wanxi.array;

public class SumArray {
    public static void main(String[] args) {
        int[] arr = {11, 22, 33};
        int sum = 0;
        for (int i = 0; i < arr.length; i++) {
            sum += arr[i];
        }
        System.out.println(sum);
//        [11,22,33]以后经常打印数组是这种形式
    }
}
